[gd_scene load_steps=8 format=2]

[ext_resource path="res://tiles/floor_test_01.obj" type="ArrayMesh" id=1]
[ext_resource path="res://tiles/tiles.material" type="Material" id=2]
[ext_resource path="res://tiles/floor_test_02.obj" type="ArrayMesh" id=3]
[ext_resource path="res://tiles/wall_test_01.obj" type="ArrayMesh" id=4]

[sub_resource type="ConvexPolygonShape" id=1]
points = PoolVector3Array( -1, 2, -1, 1, 2, -1, -1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 0, 1, -1, 2, 1, -1, 0, 1, -1, 2, 1, -1, 0, 1, -1, 2, -1, -1, 0, -1, 1, 0, -1, -1, 0, -1, 1, 0, 1, -1, 0, 1, 1, 2, -1, 1, 0, -1, 1, 2, 1, 1, 0, 1, -1, 2, -1, -1, 0, -1, 1, 2, -1, 1, 0, -1 )

[sub_resource type="ConvexPolygonShape" id=2]
points = PoolVector3Array( -1, 2, -1, 1, 2, -1, -1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 0, 1, -1, 2, 1, -1, 0, 1, -1, 2, 1, -1, 0, 1, -1, 2, -1, -1, 0, -1, 1, 0, -1, -1, 0, -1, 1, 0, 1, -1, 0, 1, 1, 2, -1, 1, 0, -1, 1, 2, 1, 1, 0, 1, -1, 2, -1, -1, 0, -1, 1, 2, -1, 1, 0, -1 )

[sub_resource type="ConvexPolygonShape" id=3]
points = PoolVector3Array( -1, 2, -1, 1, 2, -1, -1, 2, 1, 1, 2, 1, 1, 2, 1, 1, 0, 1, -1, 2, 1, -1, 0, 1, -1, 2, 1, -1, 0, 1, -1, 2, -1, -1, 0, -1, 1, 0, -1, -1, 0, -1, 1, 0, 1, -1, 0, 1, 1, 2, -1, 1, 0, -1, 1, 2, 1, 1, 0, 1, -1, 2, -1, -1, 0, -1, 1, 2, -1, 1, 0, -1 )

[node name="TestTiles" type="Spatial"]

[node name="floor_test_01" type="MeshInstance" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 3.0025, -3.69866, -3.66555 )
use_in_baked_light = true
mesh = ExtResource( 1 )
material/0 = ExtResource( 2 )

[node name="StaticBody" type="StaticBody" parent="floor_test_01"]

[node name="CollisionShape" type="CollisionShape" parent="floor_test_01/StaticBody"]
shape = SubResource( 1 )

[node name="floor_test_02" type="MeshInstance" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.481318, -4.22041, -4.76871 )
use_in_baked_light = true
mesh = ExtResource( 3 )
material/0 = ExtResource( 2 )

[node name="StaticBody" type="StaticBody" parent="floor_test_02"]

[node name="CollisionShape" type="CollisionShape" parent="floor_test_02/StaticBody"]
shape = SubResource( 2 )

[node name="wall_test_01" type="MeshInstance" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -2.25354, -4.4704, -5.10468 )
use_in_baked_light = true
mesh = ExtResource( 4 )
material/0 = ExtResource( 2 )

[node name="StaticBody" type="StaticBody" parent="wall_test_01"]

[node name="CollisionShape" type="CollisionShape" parent="wall_test_01/StaticBody"]
shape = SubResource( 3 )
